package com.ggb.reactive.domain.dto

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull
import lombok.Data

@Data
@Schema(title="用户登录 UserLoginDTO")
data class UserLoginDTO(
    @Schema(description = "code")
    @field:NotNull(message = "code 必传")
    @field:NotBlank(message = "code 不能为空")
    var code:String
)
